package com.suse.service.task.controller;

import com.suse.common.config.response.R;
import com.suse.service.task.config.SwaggerConfig;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 配置 前端控制器
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-08-23 11:13
 */
@RestController
@RequestMapping("/config")
public class ConfigController {

    @Resource
    private SwaggerConfig swaggerConfig;

    @GetMapping("/swagger")
    public R swagger() {
        System.out.println(swaggerConfig);
        return R.success();
    }

}
